# illusion of depth
import pygame
from random import randint

class Star(object):
    def __init__(self, x, y, speed):
        self.x = x
        self.y = y
        self.speed = speed

def run():
    pygame.init()
    screen = pygame.display.set_module((640,480), pygame.FULLSCREEN)
    stars = []

# add a few stars for the first frame
    for n in xrange(200):
        x = float(randint(0,639))
        y = float(randint(0,479))
        speed = float(randint(10,300))
        stars.append(Star(x,y,speed))

run()        
    
            